#ifndef SNAKE_H
#define SNAKE_H
#include <QMainWindow>
#include<qpainter.h>
namespace Ui {
    class snake;
}

class snake : public QMainWindow
{
    Q_OBJECT

public:
    snake(QWidget* parent = nullptr);
    ~snake();
    void paintEvent(QPaintEvent* event);

private:
    Ui::snake* ui;

};

#endif // SNAKE_H
